package com.gxa.boot.common;

import com.gxa.boot.entity.pojo.Manager;

public class ManagerThreadLocal {

    private static ThreadLocal<Manager> mgrThreadLocal = new ThreadLocal<Manager>();

    public static Manager get() {
       return  mgrThreadLocal.get();
    }

    public static void set(Manager manager) {
        mgrThreadLocal.set(manager);
    }

    public static void remove() {
        mgrThreadLocal.remove();
    }
}
